# -*- coding:utf-8 -*-

import time
import common.CommonPath as cp


class ReportPath():
    # 设置最新报告名称
    def save_new_report(all_case):
        """执行所有的用例，并把结果写入测试报告"""
        now = time.strftime("%Y-%m-%d-%H_%M_%S")
        filename = cp.report_path + now + "_result.html"
        print(filename)
        return filename


if __name__ == '__main__':
    ReportPath().save_new_report()